package com.yanqu.road.entity.activity.doublespring.data;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.DataStatus;
import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_c_activity_double_spring_user_invite_data", desc = "踏春游记-玩家邀请数据")
public class DoubleSpringUserInviteData extends DataObject {
    /**
     * 活动ID
     */
    private int activityId;
    
    /**
     * 邀请人ID
     */
    private long userId;
    
    /**
     * 被邀请的玩家id
     */
    private long inviteUserId;
    
    /**
     * 是否删除0否1是
     */
    private int del;
    
    /**
     * 创建时间
     */
    private long createTime;
    
    public void setActivityId(int activityId) {
        if (this.activityId != activityId) {
            this.activityId = activityId;
            setOp(DataStatus.Update);
        }
    }

    public int getActivityId() {
        return activityId;
    }

    public void setUserId(long userId) {
        if (this.userId != userId) {
            this.userId = userId;
            setOp(DataStatus.Update);
        }
    }

    public long getUserId() {
        return userId;
    }

    public void setInviteUserId(long inviteUserId) {
        if (this.inviteUserId != inviteUserId) {
            this.inviteUserId = inviteUserId;
            setOp(DataStatus.Update);
        }
    }

    public long getInviteUserId() {
        return inviteUserId;
    }

    public void setDel(int del) {
        if (this.del != del) {
            this.del = del;
            setOp(DataStatus.Update);
        }
    }

    public int getDel() {
        return del;
    }

    public void setCreateTime(long createTime) {
        if (this.createTime != createTime) {
            this.createTime = createTime;
            setOp(DataStatus.Update);
        }
    }

    public long getCreateTime() {
        return createTime;
    }
}
